/*
 * dc_print_subsystem_config.h
 *
 *  Created on: Apr 23, 2010
 *      Author: dev1
 */

#ifndef DC_PRINT_SUBSYSTEM_CONFIG_H_
#define DC_PRINT_SUBSYSTEM_CONFIG_H_
#include "dc_return_codes.h"

#define MONO_LASER          1
#define S1_ENGINE           0
#define	S2_ENGINE			0

#define	LE_PRINTING			0
#if	S2_ENGINE
#undef	LE_PRINTING
#define	LE_PRINTING			1
#endif

#define	TEST_1200DPI		0
#define	ENABLE_PO_PWM		0

#define NOT_REAL_PRINTING   0

#define	USE_INCH_UNIT		0

#if LE_PRINTING

#define PR_MAX_IN_WIDTH				7040	// ((297/25.4*600+31)/32)*32
#define PR_MAX_IN_HEIGHT			(17*600)			//4958		//6600*4  // in pixel
#define PR_MAX_OUT_WIDTH			PR_MAX_IN_WIDTH		//(7016*2)			//5100
#define PR_MAX_OUT_HEIGHT			PR_MAX_IN_HEIGHT

//#define PR_ENGINE_OUT_WIDTH			( (((297/25.4)*600+31)/32)*32 )
#define PR_ENGINE_OUT_WIDTH			( (297/25.4)*600 )
#define PR_ENGINE_OUT_HEIGHT		(11*600)

#else

#define PR_MAX_IN_WIDTH				((600*85/10+31)&(~31))	// in pixel
#define PR_MAX_IN_HEIGHT			(17*600)  			// in pixel

#if TEST_1200DPI
#define PR_MAX_OUT_WIDTH			(2 * PR_MAX_IN_WIDTH)	// (5100*2)
#define PR_MAX_OUT_HEIGHT			PR_MAX_IN_HEIGHT	/* 420*600/25.4 */
#else
#define PR_MAX_OUT_WIDTH			PR_MAX_IN_WIDTH		// (5100*2)
#define PR_MAX_OUT_HEIGHT			PR_MAX_IN_HEIGHT	/* 420*600/25.4 */
#endif
#define PR_ENGINE_OUT_WIDTH			( 8.5*600 )
#define PR_ENGINE_OUT_HEIGHT		((297/25.4)*600)


#endif

// for debug log
DC_RETURN_CODE dc_log_printf2(char *format, ...);
DC_RETURN_CODE dc_log_printf3(char *format, ...);

#endif /* DC_PRINT_SUBSYSTEM_CONFIG_H_ */
